public class Use {
    private String username;
    private int password;

    public Use() {
    }

    public Use(String username) {
        this.username = username;
    }

    public Use(String username, int password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getPassword() {
        return password;
    }

    public void setPassword(int password) {
        this.password = password;
    }
    public void read(){
        System.out.println("用户名："+username);
        System.out.println("口令:"+password);
    }

    public static void main(String[] args) {
        System.out.println("用户名：spard 密码：760121");
    }
}